<?php
/******************************************
 * Author: <YOUR NAME HERE>
 * Description: <YOUR DESCRIPTION HERE>
 ******************************************/
class CustomSecurity { 
	
function escape_string($str) {
	if ($str !== null) {
		$str = str_replace(array('\\','\''),array('\\\\','\\\''),$str);
//		$str = "'".$str."'";
	} else {
		$str = "null";
	}
	return $str;
}
}
?>